Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: remove duplicate config init #1626

Merged
merged 2 commits into from
Dec 12, 2024
Merged

fix: remove duplicate config init #1626

merged 2 commits into from
Dec 12, 2024

Conversation

wilkice
Copy link
Contributor

@wilkice wilkice commented Dec 7, 2024

  1. there is cobra.OnInitialize(initConfig) in function init to do the configure init process
  2. call of initConfig in this line makes no sense, as the cfgFile is blank at this time.

1. there is `cobra.OnInitialize(initConfig)` in function `init` to do the configure init process
2. call of `initConfig` in this line makes no sense, as the `cfgFile` is blank at this time.
@loosla loosla self-assigned this Dec 12, 2024
Copy link
Contributor

@loosla loosla left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🙌 Thanks for catching that and creating a PR to fix it!

@loosla loosla merged commit 2ec5fba into digitalocean:main Dec 12, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants